<template>
<div class="payment">
	<div class="orderNum">
		订单编号: 	<span>
			{{this.$route.params.orderNum}}
		</span>		
	</div>
	<div class="orderPic">
		<img src="qrPath">
	</div>
</div>
</template>

<script>
	var _payment   =require("common/util/server/payment.js");
export default {

  name: 'payment',
  created(){
  	this.$emit("paymentCreated");
  	var _this=this;
_payment.loadPaymentInfo({orderNo:this.$router.params.orderNum},function(res){
	_this.qrPath=res.data.qrPath
},function(err){

});
  


  },
  data () {
    return {
    	qrPath:""
    }
  }
}
</script>

<style lang="stylus" scoped>

</style>